/**
 * 管理端相关函数
 */
'use strict';
const BaseCloud = require("base-cloud");

exports.main = async ( event , ctx ) => {
	// ctx.CLIENTUA = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36" ;
	var fnName = "admin" ; //当前云函数的名称
	var controlerDir = `${__dirname}/controller` ; //存放业务函数根目录的绝对路径
	return await new BaseCloud({ event, ctx , fnName }).invoke(controlerDir);
};

